home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 1.iso / desktop / maxit11.zip / APPSETUP.INF next >
INI File  |  1995-05-23  |  18KB  |  432 lines

  1. ; -------------------------------------------------------------
  2. ; *************************************************************
  3. ; -------------------------------------------------------------
  4. ;
  5. ;  Sample Installation Script -- 052094
  6. ;
  7. ; -------------------------------------------------------------
  8. ; *************************************************************
  9. ; -------------------------------------------------------------
  10.  
  11.  
  12. ; -------------------------------------------------------------
  13. ; *************************************************************
  14. ; -------------------------------------------------------------
  15. ; About This File
  16. ; ===============
  17. ;
  18. ; This file, APPSETUP.INF, contains information that InstallWare uses to 
  19. ; install applications. This file must be in the same directory as the 
  20. ; program files IW.EXE(if used) and INSTALL.EXE. The two files can be on 
  21. ; a floppy disk, a hard disk, or a network disk drive.
  22. ;
  23. ; The information in this file determines
  24. ;   * The names of the disks and directories from which, and to which, 
  25. ;     InstallWare copies files.
  26. ;
  27. ;   * The name of the group that InstallWare creates in Program Manager's
  28. ;     window, and the names of program items that InstallWare adds to that 
  29. ;     group.
  30. ;
  31. ; You can create your own InstallWare program by changing some of the 
  32. ; information in this file.
  33. ;
  34. ; The Parts of APPSETUP.INF
  35. ; -------------------------
  36. ;
  37. ; APPSETUP.INF is similar in format to a Windows initialization (.INI) file.
  38. ;
  39. ; Sections: APPSETUP.INF is divided into sections. Each section is identified
  40. ;           by a name enclosed in square brackets.
  41. ;
  42. ;           Most section names are "hard-coded". However, some section names
  43. ;           are defined within other sections, and are therefore easily 
  44. ;           customizable.
  45. ;
  46. ; Comments: A comment begins with a semicolon. You can include a comment 
  47. ;           on the same line as syntax, as long as it comes after the syntax.
  48. ; Spaces:   Spaces are ignored, except when between double quotes.
  49. ;           Blank lines are also ignored.
  50. ;
  51. ; Sections in This File
  52. ; ---------------------
  53. ; The rest of this file contains the actual sections and statements
  54. ; that make up the working file. It also includes comments that 
  55. ; explain each section and statement.
  56. ;
  57. ;
  58. ;
  59. ;
  60. ;
  61. ; -------------------------------------------------------------
  62. ; *************************************************************
  63. ; -------------------------------------------------------------
  64. ; INFOFILE
  65. ; -------------------------------------------------------------
  66. ; *************************************************************
  67. ; -------------------------------------------------------------
  68. ; The [infofile] section describes various miscellaneous aspects
  69. ; of the installation.  The FILENAME label indicates the name of 
  70. ; the text file that is shown to the user when the program starts 
  71. ; up.  The APPNAME label is used to refer to the name of the 
  72. ; application being installed.
  73. ;
  74. ; The EXEFILE label is used to tell InstallWare that you would
  75. ; like to run a file after the installation is complete.  This
  76. ; is useful for showing a readme file, unpacking some archives,
  77. ; or just starting up the program that was just installed.  In
  78. ; the example below, note that the filename starts with a backslash.
  79. ; This indicates that the program is in the PATH.  Otherwise,
  80. ; it is assumed to be located relative to the installation
  81. ; directory.  The MESSAGE label denotes the text that will be
  82. ; displayed in the message box that prompts the user just before
  83. ; the EXEFILE is run.  If there is no MESSAGE, then the EXEFILE
  84. ; is run without prompting the user.
  85. ; -------------------------------------------------------------
  86.  
  87. [infofile]
  88.         filename = README.TXT
  89.         appname  = MaxIt
  90.         exefile  = "\MAXIT.EXE"
  91.         message  = "Do you want to start MaxIt now?"
  92.  
  93.     
  94. ; -------------------------------------------------------------
  95. ; *************************************************************
  96. ; -------------------------------------------------------------
  97. ; DIALOG
  98. ; -------------------------------------------------------------
  99. ; *************************************************************
  100. ; -------------------------------------------------------------
  101. ; The [dialog caption] section is used to define the caption
  102. ; of the windows that shown in the INSTALL program.
  103. ; -------------------------------------------------------------
  104.  
  105. [dialog]
  106.     caption = "MaxIt v1.1"
  107.  
  108.  
  109. ; -------------------------------------------------------------
  110. ; *************************************************************
  111. ; -------------------------------------------------------------
  112. ; DATA
  113. ; -------------------------------------------------------------
  114. ; *************************************************************
  115. ; -------------------------------------------------------------
  116. ; The [data defdir] section defines the default directory. This
  117. ; directory is placed in the Install location editbox when the
  118. ; program starts.  If the user does not change it, then this
  119. ; will be the base directory of the installation.
  120. ; -------------------------------------------------------------
  121.  
  122. [data]
  123.     defdir = C:\MAXIT
  124.        
  125.  
  126. ; -------------------------------------------------------------
  127. ; *************************************************************
  128. ; -------------------------------------------------------------
  129. ; DISKS
  130. ; -------------------------------------------------------------
  131. ; *************************************************************
  132. ; -------------------------------------------------------------
  133. ;
  134. ; The [disks] section defines the distribution disks that contain the
  135. ; application  files. InstallWare uses this information to tell the user to
  136. ; insert the correct disk.
  137. ; Elsewhere within this .INF file, the distribution disks are normally
  138. ; referred to by a single-character disk ID. This section defines those
  139. ; disk IDs, and includes  information about the disk to which each disk ID
  140. ; refers.
  141. ;
  142. ; The disk ID '0' is reserved; it represents the installation directory -- 
  143. ; the directory in which the user is installing the application. 
  144. ;
  145. ; The format of each disk definition is:
  146. ;     n = path, title
  147. ;
  148. ; where
  149. ;     n       is the disk ID (a single character from 1-9 or A-Z). 
  150. ;
  151. ;     path    the path of the source directory from which InstallWare should 
  152. ;             copy the files to the disk.  The path can be relative to the
  153. ;             source directory (see examples below).
  154. ;
  155. ;     title   is a descriptive name for the disk. The title should match 
  156. ;             the disk's printed or written label exactly.
  157. ;
  158. ; The following statements would define two distribution disks.
  159. ;  1 =.,        "Demo Application Disk 1"
  160. ;  2 =.\files,  "Demo Application Disk 2"
  161. ;
  162. ; The first statement tells InstallWare to refer to Disk 1 as "Demo Application 
  163. ; Disk 1". Because the period (.) denotes the current directory, the files 
  164. ; on that disk will be copied from the root directory of the
  165. ; distribution disk. 
  166. ;
  167. ; The second statement tells InstallWare to refer to Disk 2 as "Demo 
  168. ; Application Disk 2"; the files that Disk 2 contains will be copied 
  169. ; from the \FILES directory of the distribution disk.
  170. ;
  171. ; You can include as many disk-definition statements as necessary. Every 
  172. ; distribution disk should have a corresponding disk-definition statement;
  173. ; otherwise, InstallWare cannot tell the user to insert the appropriate disk.
  174. ;
  175. ; For the purposes of this file we will use this disk definition line:
  176.  
  177. [disks]
  178.     1 =., "MaxIt v1.1 Installation"
  179.  
  180.  
  181.     
  182. ; -------------------------------------------------------------
  183. ; *************************************************************
  184. ; -------------------------------------------------------------
  185. ; NEEDED.SPACE
  186. ; -------------------------------------------------------------
  187. ; *************************************************************
  188. ; -------------------------------------------------------------
  189. ; This section tells INSTALL how much space is needed on the
  190. ; target disk to do a successful installation.  The user will
  191. ; get an error message if they try to install to a disk that
  192. ; has less space.
  193. ; -------------------------------------------------------------
  194.  
  195. [needed.space]
  196.     minspace = 80000
  197.     
  198.     
  199.  
  200. ; -------------------------------------------------------------
  201. ; *************************************************************
  202. ; -------------------------------------------------------------
  203. ; DEST.DIRECTORIES
  204. ; -------------------------------------------------------------
  205. ; *************************************************************
  206. ; -------------------------------------------------------------
  207. ; The [dest.directories] section contains section-definition statements.
  208. ; Each statement defines a section that lists application files to be
  209. ; copied as part of installation. The sections are organized by file 
  210. ; destination; you should define a separate section for each destination 
  211. ; directory. 
  212. ;
  213. ; Each section definition has the following form:
  214. ;
  215. ;     #section_name, 0:dest_pathname
  216. ;
  217. ; where
  218. ;
  219. ;     #section_name   defines the name of the .INF section that lists the
  220. ;                     files to be copied.
  221. ;     0                  is the disk ID that represents the installation directory.
  222. ;                     (0 is a reserved disk ID, and always represents the
  223. ;                     installation directory -- the directory the user specified
  224. ;                     when asked where to install the application.)
  225. ;     dest_pathname   is the pathname of the destination directory, relative 
  226. ;                     to the installation directory. For example, "0:FILES"
  227. ;                     represents the FILES subdirectory of the installation 
  228. ;                     directory.
  229. ;
  230. ; -------------------------------------------------------------
  231. ; In the example below, the first two entries define application
  232. ; specific directories.  The #app.main directory will be the
  233. ; base directory defined by the user (or the default as
  234. ; described above).  The #app.sub directory will cause a
  235. ; directory called sub to be created off of the base directory.
  236. ;
  237. ; The third and fourth entries refer to the two Windows
  238. ; specific directories: \WINDOWS and \WINDOWS\SYSTEM.
  239. ; INSTALL will find these directories and copy the specified
  240. ; files into them.
  241. ; -------------------------------------------------------------
  242.  
  243. [dest.directories]
  244.     #app.main,    0:
  245.     #app.sub,     0:sub
  246.     #app.SETUPSYSDIR,    0:SETUPSYSDIR
  247.     #app.SETUPWINDIR,    0:SETUPWINDIR
  248.  
  249.  
  250.  
  251. ; -------------------------------------------------------------
  252. ; *************************************************************
  253. ; -------------------------------------------------------------
  254. ; USER-DEFINED SECTION
  255. ; -------------------------------------------------------------
  256. ; *************************************************************
  257. ; -------------------------------------------------------------
  258. ; This section is a user-defined section that lists files to be copied to a
  259. ; particular destination directory. The [dest.directories] section defines.
  260. ; the name of this section and the destination directory of the files.
  261. ;
  262. ; In each section like this one, you should list all files that you want copied
  263. ; to the same destination. (For example, all the files in this section, 
  264. ; [app.user], will be copied to the installation directory.)
  265. ;
  266. ; InstallWare copies the files listed in this section in the order in which they
  267. ; are listed. 
  268. ;
  269. ; The syntax of each file listing is
  270. ;
  271. ;     N:FILENAME, "Description"
  272. ;
  273. ; where
  274. ;
  275. ;     N:           is the disk ID of the disk that contains the file. (Disk 
  276. ;                  IDs are defined in the [disks] section.) If the specified 
  277. ;                  disk is not in the disk drive, InstallWare prompts the
  278. ;                  user to insert it.
  279. ;       
  280. ;     FILENAME     is the name of the file, including any filename extension.
  281. ;
  282. ;     Description  is descriptive text that InstallWare displays as it is 
  283. ;                  copying the file or group of files.  If you leave the 
  284. ;                  description blank, InstallWare will continue displaying 
  285. ;                  the descriptive text from the previous file. This lets 
  286. ;                  you use a general name for a group of files.
  287. ;
  288. ;
  289. ; -------------------------------------------------------------
  290. ; This is the file list for the base directory.
  291. ; -------------------------------------------------------------
  292.  
  293. [app.main]
  294.     1:APPSETUP.INF,     "MaxIt Installation File"
  295.     1:MAXIT.EXE,        "MaxIt Executable File"
  296.     1:README.TXT,       "MaxIt Text File"
  297.     1:FILE_ID.DIZ,      "MaxIt Description File"
  298.     1:LICENSE.TXT,      "MaxIt License File"
  299.     1:REGISTER.TXT,     "MaxIt Registration Info File"
  300.     
  301.  
  302. ; -------------------------------------------------------------
  303. ; This is the file list for the \WINDOWS\SYSTEM directory.
  304. ; -------------------------------------------------------------
  305.  
  306. [app.SETUPSYSDIR]
  307.    ; 1:README,           "Readme File"
  308.  
  309.  
  310. ; -------------------------------------------------------------
  311. ; This is the file list for the \WINDOWS\SYSTEM directory.
  312. ; -------------------------------------------------------------
  313.  
  314. [app.SETUPWINDIR]
  315.  
  316.  
  317. ; -------------------------------------------------------------
  318. ; This is the file list for the sub directory located off of
  319. ; the base directory.
  320. ; -------------------------------------------------------------
  321. [app.sub]
  322.    ; 1:README,   "README"
  323.    ; 1:INSTALL.EXE,      "INSTALL.EXE"
  324.    ; 1:IW.EXE,           "IW.EXE"
  325.  
  326.  
  327.  
  328.  
  329. ; -------------------------------------------------------------
  330. ; *************************************************************
  331. ; -------------------------------------------------------------
  332. ; PROGMAN.GROUPS
  333. ; -------------------------------------------------------------
  334. ; *************************************************************
  335. ; -------------------------------------------------------------
  336. ; The [progman.groups] section (optional) tells InstallWare to create Program 
  337. ; Manager groups for your application. (InstallWare then uses DDE to 
  338. ; communicate with Program Manager.)
  339. ;
  340. ; The section lists the names of the groups you want to create. You then 
  341. ; define additional sections in this file; those sections list the program 
  342. ; items you want in each group.
  343. ;
  344. ; The syntax for each group name is:
  345. ;
  346. ;     groupname, [groupfile.grp]
  347. ;
  348. ; where
  349. ;
  350. ;     groupname      is the title you want Program Manager to display
  351. ;                    under the icon that represents the group. (The 
  352. ;                    groupname will also be the name of the section
  353. ;                    that defines the contents of the group.)
  354. ;
  355. ;     groupfile.grp  is the filename of the file in which Program Manager
  356. ;                    will save information about the group. (You must include
  357. ;                    the .GRP filename extension.) This parameter is optional;
  358. ;                    if you omit it, InstallWare uses a default name for the 
  359. ;                    group file.
  360. ;
  361. ; The following group-definition statement tells InstallWare to create a 
  362. ; group named "Bob Dolan Shareware", and store its information in a file
  363. ; named BOBDOLAN.GRP.
  364.  
  365. [progman.groups]
  366.     MaxIt v1.1, MaxIt.GRP
  367.     
  368.  
  369.     
  370. ; -------------------------------------------------------------
  371. ; *************************************************************
  372. ; -------------------------------------------------------------
  373. ; USER-DEFINED PROGMAN.GROUPS
  374. ; -------------------------------------------------------------
  375. ; *************************************************************
  376. ; -------------------------------------------------------------
  377. ; This section describes the Program Item Icon to add to the
  378. ; Program Group defined in the section heading.
  379. ;
  380. ; In each section like this one, you should list all items that you want 
  381. ; InstallWare to add to the group.
  382. ;
  383. ; The syntax for item-definition statements is: 
  384. ;
  385. ;     "Description",    APPFILE.EXE, [ICONFILE.EXE[, N]]
  386. ;
  387. ;where
  388. ;
  389. ;     Description   is the text that will appear below the program icon 
  390. ;                   when displayed in the Program Manager group. 
  391. ;
  392. ;     APPFILE.EXE   is the command line that starts the application.
  393. ;     
  394. ;     ICONFILE.EXE  is the application file that contains the icon you
  395. ;                   want to represent the application. Typically, this is 
  396. ;                   the executable application file, but it could be a 
  397. ;                   different file. (You can also specify a .ICO file, created
  398. ;                   using the SDKPaint tool.) This parameter is optional; if
  399. ;                   you omit it, InstallWare will use the first icon it finds in
  400. ;                   APPFILE.EXE. 
  401. ;
  402. ;     N             is the offset of the icon you want to use within the file
  403. ;                   ICONFILE.EXE.  This parameter is optional; if you omit it, 
  404. ;                   InstallWare uses the first icon it finds in ICONFILE.EXE.
  405. ;                   You must include this parameter if the file you specify
  406. ;                   contains more than one icon, and you want to use an icon
  407. ;                   other than the first icon. 
  408. ;
  409. ;                   To use the Nth icon, specify the number N-1. For example,
  410. ;                   to use the third icon, specify 2.
  411. ;
  412. ; For example, the following item-definition statement tells InstallWare to add 
  413. ; an item titled "Install" to Program Manager. The application command line is
  414. ; a file named INSTALL.EXE which is located in the SUB subdirectory off of the
  415. ; installation directory.
  416.  
  417.  
  418. [MaxIt v1.1]
  419.     "MaxIt Readme File", README.TXT
  420.     "MaxIt v1.1", MaxIt.EXE
  421.  
  422.  
  423. ; -------------------------------------------------------------
  424. ; -------------------------------------------------------------
  425.  
  426.